package com.nip.trainning.DataTransferObject;

import java.io.Serializable;

/**
 * Class Person Information
 * 
 * @author NIP-ThangNM
 * 
 */
public class PersonEntity implements Serializable {

	private int PersonID;
	private String PersonName;
	private String PhoneNumber;

	public int getPersonID() {
		return PersonID;
	}

	public void setPersonID(int personID) {
		PersonID = personID;
	}

	public String getPersonName() {
		return PersonName;
	}

	public void setPersonName(String personName) {
		PersonName = personName;
	}

	public String getPhoneNumber() {
		return PhoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		PhoneNumber = phoneNumber;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return PersonID + ". " +  PersonName + " - " + PhoneNumber;
	}

}
